package Client;

import java.io.IOException;

public class Client {
	public Client(){
		ClientMonitor monitor = new ClientMonitor();
		
		
		SecureConnection SC = null;
		Printer p = null;
		try {
			SC = new SecureConnection(monitor);
			p = new Printer(monitor);
		} catch (IOException e) {
			System.out.println("Could not initialize connection... exiting");
			System.exit(0);
		}
		SC.start();
		p.start();
	}
	
	public static void main(String[] args){
		new Client();
	}
}
